package com.cloudservice.ccs.mapper;

import com.cloudservice.ccs.entity.CommonWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CommonWordMapper {
    int save( CommonWord commonWord);

    int update(Integer id, CommonWord commonWord);

    int delete(Integer id);

    int partialUpdate(Integer id, Map<String, Object> fields);

    CommonWord getOne(Integer id);

    List<CommonWord> getAll();
}
